import request from "@/utils/request";
//查询所有线路类型信息
export function getAllLineType(){
  return request({
    url: "/pd-base/lineType/getAllLineType",
    method: "get"
  });
}
//多条件分页查询线路类型信息
export function getLineTypeByPage(lineTypeDto){
  return request({
    url: "/pd-base/lineType/getLineTypeByPage",
    method: "post",
    data: lineTypeDto
  });
}
//删除线路类型信息
export function deleteLineType(lineTypeBean){
  return request({
    url: "/pd-base/lineType/deleteLineType",
    method: "post",
    data: lineTypeBean
  })
}
//新增线路类型信息
export function addLineType(lineTypeBean){
  return request({
    url: "/pd-base/lineType/addLineType",
    method: "post",
    data: lineTypeBean
  })
}
//修改线路类型信息
export function updateLineType(lineTypeBean){
  return request({
    url: "/pd-base/lineType/updateLineType",
    method: "post",
    data: lineTypeBean
  })
}
//根据编号查询线路类型信息
export function getLineTypeById(id){
  return request({
    url: `/pd-base/lineType/getLineTypeById/${ id }`,
    method: "get",
    params: {id}
  })
}
